package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.rOutappMain;
import com.isunland.managesystem.entity.rOutappSub;

/**
 * 对象功能:  出库物料详情
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/6/30 14:51
 */
public class RetailOutMaterieDetailActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    rOutappMain outMain = (rOutappMain) getIntent().getSerializableExtra(
        RetailOutMaterieDetailFragment.EXTRA_MAIN_CONTENT);
    rOutappSub outSub = (rOutappSub) getIntent().getSerializableExtra(
        RetailOutMaterieDetailFragment.EXTRA_SUB_CONTENT);
    String resourceFlag =
        getIntent().getStringExtra(RetailOutMaterieDetailFragment.EXTRA_RESOURCEFLAG);
    return RetailOutMaterieDetailFragment.newInstance(outMain, outSub, resourceFlag);
  }
}